<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="utf-8" />
    <title>{dr_lang('%s - 后台管理平台', SITE_NAME)}</title>
    <meta name="viewport" content="width=device-width, initial-scale=1" />
	<!--begin::Fonts(mandatory for all pages)-->
    <link rel="stylesheet" href="{$THEME_PATH}htmb1/assets/css/css.css">
    <!--end::Fonts-->
    <!--begin::Vendor Stylesheets(used for this page only)-->
    <link href="{$THEME_PATH}htmb1/assets/plugins/custom/fullcalendar/fullcalendar.bundle.css" rel="stylesheet" type="text/css">
    <link href="{$THEME_PATH}htmb1/assets/plugins/custom/datatables/datatables.bundle.css" rel="stylesheet" type="text/css">
    <!--end::Vendor Stylesheets-->
    <!--begin::Global Stylesheets Bundle(mandatory for all pages)-->
    <link href="{$THEME_PATH}htmb1/assets/plugins/global/plugins.bundle.css" rel="stylesheet" type="text/css">
    <link href="{$THEME_PATH}htmb1/assets/css/style.bundle.css" rel="stylesheet" type="text/css">
    <!--end::Global Stylesheets Bundle-->
    <link href="{$THEME_PATH}assets/icon/css/icon.css?v={CMF_UPDATE_TIME}" rel="stylesheet" type="text/css" />
    <script type="text/javascript">var admin_file = '{SELF}';var is_min = '{$is_min}'; var is_oemcms = '{IS_OEM_CMS}'; var is_mobile_cms = '{$is_mobile}'; var is_admin = '{if dr_in_array(1, $admin.roleid)}1{else}2{/if}';</script>
    <script src="{$LANG_PATH}lang.js?v={CMF_UPDATE_TIME}" type="text/javascript"></script>
    <script>
        var defaultThemeMode = "light";
        var themeMode;
        if (document.documentElement) {
            if (document.documentElement.hasAttribute("data-theme-mode")) {
                themeMode = document.documentElement.getAttribute("data-theme-mode");
            } else {
                if (localStorage.getItem("data-theme") !== null) {
                    themeMode = localStorage.getItem("data-theme");
                } else {
                    themeMode = defaultThemeMode;
                }
            }
            if (themeMode === "system") {
                themeMode = window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light";
            }
            document.documentElement.setAttribute("data-theme", themeMode);
        }
    </script>
    <!--begin::Global Javascript Bundle(mandatory for all pages)-->
<script src="{$THEME_PATH}htmb1/assets/plugins/global/plugins.bundle.js"></script>
<script src="{$THEME_PATH}htmb1/assets/js/scripts.bundle.js"></script>

<!--end::Global Javascript Bundle-->
    <script src="{$THEME_PATH}assets/js/cms.js?v={CMF_UPDATE_TIME}" type="text/javascript"></script>
    <script src="{$THEME_PATH}assets/global/plugins/jquery.md5.js?v={CMF_UPDATE_TIME}" type="text/javascript"></script>
    
    <script>
        function wSize(){
            var str=getWindowSize();
            var strs= new Array(); //定义一数组
            strs=str.toString().split(","); //字符分割
            var heights = strs[0]-70,Body = $('body');
            $('#right_page').height(heights);
        }
        if(!Array.prototype.map)
            Array.prototype.map = function(fn,scope) {
                var result = [],ri = 0;
                for (var i = 0,n = this.length; i < n; i++){
                    if(i in this){
                        result[ri++]  = fn.call(scope ,this[i],i,this);
                    }
                }
                return result;
            };
        var getWindowSize = function(){
            return ["Height","Width"].map(function(name){
                return window["inner"+name] ||
                    document.compatMode === "CSS1Compat" && document.documentElement[ "client" + name ] || document.body[ "client" + name ]
            });
        }
    
        $(function(){
            window.onresize=wSize;
            wSize();
            $('#kt_header_user_menu_toggle').mousemove(function(){
                if ($('#kt_header_user_menu_toggle .cursor-pointer').hasClass('show')) {
    
                } else {
                    $('#kt_header_user_menu_toggle .cursor-pointer').click();
                }
            });
            $('#kt_header_user_menu_toggle .menu-sub-dropdown').mouseleave(function(){
                if ($('#kt_header_user_menu_toggle .cursor-pointer').hasClass('show')) {
                    $('#kt_header_user_menu_toggle .cursor-pointer').click();
                } else {
    
                }
            });
            {if !isset($_GET['go'])}
            dr_go_top();
            {/if}
            var offset = 100;
            var duration = 500;
            if (navigator.userAgent.match(/iPhone|iPad|iPod/i)) {  // ios supported
                $('#kt_aside_menu_wrapper').bind("touchend touchcancel touchleave", function(e){
                    if ($(this).scrollTop() > offset) {
                        $('.scroll-to-top').fadeIn(duration);
                    } else {
                        $('.scroll-to-top').fadeOut(duration);
                    }
                });
            } else {  // general
                $('#kt_aside_menu_wrapper').scroll(function() {
                    if ($(this).scrollTop() > offset) {
                        $('.scroll-to-top').fadeIn(duration);
                    } else {
                        $('.scroll-to-top').fadeOut(duration);
                    }
                });
            }
        });
    
        function dr_go_top(){
            $('#kt_aside_menu_wrapper').animate({
                scrollTop: -15 // 初始化菜单位置
            })
        }
        function Mlink(top, left, link, url) {
            if (url) {
                $('.dr_menu_left').removeClass('hover here show');
                $('.dr_menu_left_1').removeClass('show');
               

                $('.dr_menu_left_next').removeClass('hover here show');
                $('.dr_menu_left_next_1').removeClass('show');
                $('#dr_menu_left_'+left).addClass('here show');
                $('#dr_menu_left_next_'+left).addClass('here show');
                
                $('.dr_menu_top').removeClass('here');
                $('#dr_menu_top_'+top).addClass('here');
                $('.dr_menu_top_next').removeClass('displayblock');
                $('#dr_menu_top_next_'+top).addClass('displaynone displayblock');
                $('.menu-item .menu-link').removeClass('active');
                
                $('#dr_menu_link_a_'+link).addClass('active');
                $('#dr_menu_link_b_'+link).addClass('active');
                dr_go_url(url, $('#dr_menu_link_'+link).html());
                dr_go_url(url, $('#dr_menu_link_next_'+link).html());
            }
        }
      
        // 退出
        function dr_logout(url) {
            var r=confirm(lang['logout']);
            if (r==true) {
                $.ajax({
                    type: "GET",
                    dataType: "json",
                    url: url,
                    success: function(json) {
                        if (json.code == 1) {
                            setTimeout("window.location.href='{dr_url("login/index")}'", 1000);
                        }
                        dr_tips(json.code, json.msg);
                    },
                    error: function(HttpRequest, ajaxOptions, thrownError) {
                        dr_ajax_alert_error(HttpRequest, this, thrownError);
                    }
                });
            }
        }
        function dr_select_site(id) {
            var r=confirm('{dr_lang("你确定要切换到选中站点吗？")}')
            if (r==true) {
                window.location.href='{dr_url("sites/api/login_select")}&id='+id
            }
        }
        function dr_tab_close() {
            $('#dr_go_url .menu-item').remove();
        }
        function dr_go_url(url, name, nocache) {
                $('#kt_aside').removeClass('drawer-on');
                $('#kt_aside_mobile_toggle').removeClass('active');
                $('.dr_active_menu_icon').removeClass('show');
                $('.dr_active_menu_sub').removeClass('show');
                $('.dr_active_menu_sub').hide();
                $('#kt_body').removeAttr('data-kt-drawer-aside');
                $('#kt_body').removeAttr('data-kt-drawer');
                $('.drawer-overlay').remove();
            
                var cmd = $.md5(url);
                $('#myiframe iframe').hide();
                $('#myiframe').attr("cid", 'right_page_'+cmd);
                $('#dr_go_url .menu-item').removeClass('here show');
    
                if ($('#right_page_'+cmd).length > 0) {
                    // 存在
                    $('#right_page_'+cmd).show();
                    $('#dr_go_url_'+cmd).addClass('here show');
                    var iurl = document.getElementById("right_page_"+cmd).contentWindow.location.href;
                    if (iurl.indexOf(url) == -1 && nocache != 'true') {
                        // 地址不符合，重置
                        $('#right_page_'+cmd).attr('src', url);
                    }
                } else {
                    $('#dr_tab_close').remove();
                    var html = '<iframe class="myiframe" name="right" id="right_page_'+cmd+'" src="'+url+'" url="'+url+'" style="border:none; margin-bottom:0px;height:'+$('#right_page').height()+'px" width="100%" height="auto" allowtransparency="true"></iframe>';
                    $("#myiframe").append(html);
                }
    
                if (name && $('#dr_go_url_'+cmd).length == 0) {
    
                    $('#dr_tab_close').remove();
                    $('#dr_go_url').prepend('<div id="dr_go_url_'+cmd+'" class="menu-item here show menu-lg-down-accordion me-lg-1"><span class="menu-link py-3"><a class="menu-title" href="javascript:;" onclick="dr_go_url(\''+url+'\', \'\', \'true\')">'+name+'</a><i onclick="$(\'#dr_go_url_'+cmd+'\').remove();" class="close-tab fa fa-remove"></i></span></div>');
                    if ($('#dr_tab_close').length == 0) {
                        $('#dr_go_url').prepend('<div id="dr_tab_close" class="menu-item menu-lg-down-accordion me-lg-1"><span class="menu-link py-4"><i style="margin-right:0;" title="{dr_lang('全部移除')}" onclick="dr_tab_close()" class="fa fa-trash"></i></span></div>');
                    }
                }
              
                }
    
            function dr_update_cache_all() {
    
                    var index = layer.load(2, {
                        shade: [0.3,'#fff'], //0.1透明度的白色背景
                        time: 10000
                    });
                    $.ajax({type: "GET",dataType:"json", url: admin_file+"?c=api&m=cache_update",
                        success: function(json) {
                            layer.close(index);
                            dr_tips(1, "{dr_lang('全站缓存更新完成')}");
                        },
                        error: function(HttpRequest, ajaxOptions, thrownError) {
                            layer.closeAll('loading');
                            dr_tips(0, "{dr_lang('更新失败，请检查错误日志')}");
                        }
                    });
                }
                function dr_update_cache_data() {
    
                        var index = layer.load(2, {
                            shade: [0.3,'#fff'], //0.1透明度的白色背景
                            time: 10000
                        });
                        $.ajax({type: "GET",dataType:"json", url: admin_file+"?c=api&m=cache_clear",
                            success: function(json) {
                                layer.close(index);
                                dr_tips(1, "{dr_lang('前端数据缓存更新完成')}");
                            },
                            error: function(HttpRequest, ajaxOptions, thrownError) {
                                layer.closeAll('loading');
                                dr_tips(0, "{dr_lang('更新失败，请检查错误日志')}");
                            }
                        });
                    }
                function dr_search_menu(kw) {
                    $('#dr_search_loading').show();
                    $('#dr_search_menu').html('');
                    $.ajax({type: "GET",dataType:"json", url: admin_file+"?c=api&m=search_menu&kw="+kw,
                        success: function(json) {
                            $('#dr_search_loading').hide();
                            $('#dr_search_menu').html(json.msg);
                        },
                        error: function(HttpRequest, ajaxOptions, thrownError) {
                            $('#dr_search_loading').hide();
                            dr_tips(0, "{dr_lang('请求失败，请检查错误日志')}");
                        }
                    });
                }
    </script>
     <style>
      

            #kt_header_user_menu_toggle .menu-sub .menu-link .fa, #kt_header_user_menu_toggle .menu-sub .menu-link .bi {
                width: 20px;
                padding-top: 1px;
            }
      .dispalynone{
            display:none;
        }
        .displayblock{
            display: block;
        }
        #kt_header_nav{      
            overflow: scroll;
        }
        [data-theme=dark]  .menu-item.show>.menu-link {
          background-color: var(--kt-body-bg) !important;
        }
        #kt_header_nav .menu-item.show>.menu-link{  
            border-radius: 0.475rem;
            color: #40aae3;
            transition: color .2s ease,background-color .2s ease;
            background-color: rgb(230 233 239);
        }
        #kt_header_nav .menu-item.show>.menu-link .menu-title{      
            color: #40aae3;
           
        }
        
        .menu-link .menu-title{
            width: max-content;
        }
        
        </style>
</head>


<body id="kt_app_body" data-kt-app-header-fixed-mobile="true" data-kt-app-sidebar-enabled="true" data-kt-app-sidebar-fixed="true" data-kt-app-sidebar-push-header="true" data-kt-app-sidebar-push-toolbar="true" data-kt-app-sidebar-push-footer="true" data-kt-app-sidebar-stacked="true" data-kt-app-toolbar-enabled="true" class="app-default">

		<!--begin::App-->
		<div class="d-flex flex-column flex-root app-root" id="kt_app_root">
			<!--begin::Page-->
			<div class="app-page flex-column flex-column-fluid" id="kt_app_page">
				<!--begin::手机Header-->
				<div id="kt_app_header" class="app-header d-flex d-lg-none" data-kt-sticky="true" data-kt-sticky-activate="{default: false, lg: true}" data-kt-sticky-name="app-header-sticky" data-kt-sticky-offset="{default: false, lg: '300px'}">
					<!--begin::Header container-->
					<div class="app-container container-xxl d-flex align-items-center justify-content-between" id="kt_app_header_container">
						<!--begin::Logo-->
						<div class="d-flex align-items-center flex-grow-1 flex-lg-grow-0 me-lg-15">
                            <a href="/" target="_blank">
								<img alt="{SITE_NAME}" src="{SITE_LOGO}" class="h-30px">
							</a>
						</div>
						<!--end::Logo-->
						<!--begin::Header mobile toggle-->
						<div class="d-flex align-items-center d-lg-none ms-2" title="Show sidebar menu">
							<div class="btn btn-icon btn-color-white bg-white bg-opacity-0 bg-hover-opacity-10 w-35px h-35px" id="kt_app_sidebar_mobile_toggle">
								<!--begin::Svg Icon | path: icons/duotune/abstract/abs015.svg-->
								<span class="svg-icon svg-icon-2">
									<svg width="24" height="24" viewbox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
										<path d="M21 7H3C2.4 7 2 6.6 2 6V4C2 3.4 2.4 3 3 3H21C21.6 3 22 3.4 22 4V6C22 6.6 21.6 7 21 7Z" fill="currentColor"></path>
										<path opacity="0.3" d="M21 14H3C2.4 14 2 13.6 2 13V11C2 10.4 2.4 10 3 10H21C21.6 10 22 10.4 22 11V13C22 13.6 21.6 14 21 14ZM22 20V18C22 17.4 21.6 17 21 17H3C2.4 17 2 17.4 2 18V20C2 20.6 2.4 21 3 21H21C21.6 21 22 20.6 22 20Z" fill="currentColor"></path>
									</svg>
								</span>
								<!--end::Svg Icon-->
							</div>
						</div>
						<!--end::Header mobile toggle-->
					</div>
					<!--end::Header container-->
				</div>
				<!--end::Header-->

				<!--begin::Wrapper-->
				<div class="app-wrapper flex-column flex-row-fluid" id="kt_app_wrapper">
					
					<!--begin::Sidebar-->
					<div id="kt_app_sidebar" class="app-sidebar" data-kt-drawer="true" data-kt-drawer-name="app-sidebar" data-kt-drawer-activate="{default: true, lg: false}" data-kt-drawer-overlay="true" data-kt-drawer-width="300px" data-kt-drawer-direction="start" data-kt-drawer-toggle="#kt_app_sidebar_mobile_toggle">
						<!--begin::Sidebar primary-->
						<div class="app-sidebar-primary">
							<!--begin::Logo-->
							<div class="app-sidebar-logo d-none d-md-flex flex-center pt-10 pb-2" id="kt_app_sidebar_logo">
								<!--begin::Logo image-->
								<a href="/" target="_blank">
                                    <img alt="{SITE_NAME}" src="{SITE_LOGO}" style="width: 70px" class="h-30px">
								</a>
								<!--end::Logo image-->
							</div>
							<!--end::Logo-->
							<!--begin::Primary menu-->
                            
							<div class="app-sidebar-menu flex-grow-1 hover-scroll-overlay-y my-5" id="kt_aside_menu_wrapper" data-kt-scroll="true" data-kt-scroll-activate="{default: false, lg: true}" data-kt-scroll-height="auto" data-kt-scroll-dependencies="#kt_aside_logo, #kt_aside_footer" data-kt-scroll-wrappers="#kt_aside_menu" data-kt-scroll-offset="0">
								<!--begin::Menu-->
								<div class="menu menu-column menu-title-gray-600 menu-state-primary menu-state-icon-primary menu-state-bullet-primary menu-arrow-gray-500 fw-semibold fs-6" id="#kt_aside_menu" data-kt-menu="true" data-kt-menu-expand="false">
									<!--begin:Menu item-->
                                    {loop $my_menu $tid $top}
                                  
									<div id="dr_menu_top_{$top.id}" data-kt-menu-trigger="{default: 'click', lg: 'hover'}" data-kt-menu-placement="right-start" class="menu-item {if $top.id==$first}here show{/if} py-2 dr_menu_top">
										<!--begin:Menu link-->
                                        
										<span class="menu-link menu-center" >
											<span class="menu-icon me-0">
												<i class="{$top.icon}"></i>
											</span>
                                    </span>
										<!--end:Menu link-->
										<!--begin:Menu sub-->
										<div class="menu-sub menu-sub-dropdown py-4 w-200px w-lg-200px">
											<!--begin:Menu item-->
											<div class="menu-item">
												<!--begin:Menu content-->
												<div class="menu-content">
													<span class="menu-section fs-5 fw-bolder ps-1 py-1">{dr_lang($top.name)}</span>
												</div>
												<!--end:Menu content-->
											</div>
                                                <!--end:Menu item-->
											<!--begin:Menu item-->
                                            {loop $top.left $left}
											<div data-kt-menu-trigger="click" id="dr_menu_left_{$left.id}" class="menu-item {if $main_menu.pid==$left.id}here show{/if} menu-accordion dr_menu_left">
												<!--begin:Menu link-->
												<span class="menu-link">
													<span class="menu-icon">
														<i class="{$left.icon}"></i>
													</span>
													<span class="menu-title">{dr_lang($left.name)}</span>
													<span class="menu-arrow"></span>
												</span>
												<!--end:Menu link-->
												<!--begin:Menu sub-->
												<div class="menu-sub menu-sub-accordion dr_menu_left_1">
													<!--begin:Menu item-->
                                                    {loop $left.link $link}
													<div class="menu-item">
														<!--begin:Menu link-->
														<a class="menu-link {if $main_menu.id==$link.id} active{/if}" id="dr_menu_link_a_{$link.id}" href="javascript:Mlink({$tid}, {$left['id']}, {$link['id']}, '{$link.url}');">
															<span class="menu-bullet">
																<span class="{$link.icon}"></span>
															</span>
															<span class="menu-title" id="dr_menu_link_{$link.id}">{dr_lang($link.name)}</span>
														</a>
														<!--end:Menu link-->
													</div>
                                                    {/loop}
													<!--end:Menu item-->
													
												</div>
												<!--end:Menu sub-->
											</div>
                                            {/loop}
										</div>
										<!--end:Menu sub-->
									</div>
                                    {/loop}
									<!--end:Menu item-->

									
								</div>
								<!--end::Menu-->
							</div>
							<!--end::Primary menu-->
                        <!--begin::Footer-->
							<div class="d-flex flex-column flex-center pb-8" id="kt_app_sidebar_footer" style="border-radius: 24px">
								<!--begin::User menu-->
								<div class="cursor-pointer symbol symbol-40px symbol-circle" data-kt-menu-trigger="{default: 'click', lg: 'hover'}" data-kt-attach="parent" data-kt-menu-placement="right-end">
									<img src="{dr_avatar($admin.uid)}" alt="{$admin['username']}">
									<!--begin::User account menu-->
									<div class="menu menu-sub menu-sub-dropdown menu-column menu-rounded menu-gray-800 menu-state-bg menu-state-color fw-semibold py-4 fs-6 w-250px" data-kt-menu="true">
										<!--begin::Menu item-->
										<div class="menu-item px-3">
											<div class="menu-content d-flex align-items-center px-3">
												<!--begin::Avatar-->
												<div class="symbol symbol-50px me-5">
													<img alt="{$admin['username']}" src="{dr_avatar($admin.uid)}">
												</div>
												<!--end::Avatar-->
												<!--begin::Username-->
												<div class="d-flex flex-column">
													<div class="fw-bold d-flex align-items-center fs-5">{$admin.username}
													</div>
                                                    {loop $admin.role $rr}
													<span  class="fw-semibold text-muted text-hover-primary fs-7">{$rr}</span>
                                                    {/loop}
												</div>
												<!--end::Username-->
											</div>
										</div>
										<!--end::Menu item-->
										<!--begin::Menu separator-->
										<div class="separator my-2"></div>
                                       {if IS_USE_MEMBER}
                                        <div class="menu-item px-5">
                                            <span>
                                            <a href="javascript:;" onclick="window.location.assign('{dr_url('api/alogin', ['id'=>$admin.uid])}')"  target="_blank" class="menu-link px-5">  {dr_lang('用户中心')}</a>
                                            </span>
                                        </div>
                                        {/if}
                                        <div class="menu-item px-5">
                                            <a href="javascript:;" onClick="dr_go_url('{dr_url('api/my')}');" class="menu-link px-5">  {dr_lang('修改资料')}</a>
                                        </div>
										<!--begin::Menu item-->
										<div class="menu-item px-5" data-kt-menu-trigger="{default: 'click', lg: 'hover'}" data-kt-menu-placement="left-start" data-kt-menu-offset="-15px, 0">
											<a href="#" class="menu-link px-5">
												<span class="menu-title position-relative">暗/亮 
												<span class="ms-5 position-absolute translate-middle-y top-50 end-0">
													<!--begin::Svg Icon | path: icons/duotune/general/gen060.svg-->
													<span class="svg-icon theme-light-show svg-icon-2">
														<svg width="24" height="24" viewbox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
															<path d="M11.9905 5.62598C10.7293 5.62574 9.49646 5.9995 8.44775 6.69997C7.39903 7.40045 6.58159 8.39619 6.09881 9.56126C5.61603 10.7263 5.48958 12.0084 5.73547 13.2453C5.98135 14.4823 6.58852 15.6185 7.48019 16.5104C8.37186 17.4022 9.50798 18.0096 10.7449 18.2557C11.9818 18.5019 13.2639 18.3757 14.429 17.8931C15.5942 17.4106 16.5901 16.5933 17.2908 15.5448C17.9915 14.4962 18.3655 13.2634 18.3655 12.0023C18.3637 10.3119 17.6916 8.69129 16.4964 7.49593C15.3013 6.30056 13.6808 5.62806 11.9905 5.62598Z" fill="currentColor"></path>
															<path d="M22.1258 10.8771H20.627C20.3286 10.8771 20.0424 10.9956 19.8314 11.2066C19.6204 11.4176 19.5018 11.7038 19.5018 12.0023C19.5018 12.3007 19.6204 12.5869 19.8314 12.7979C20.0424 13.0089 20.3286 13.1274 20.627 13.1274H22.1258C22.4242 13.1274 22.7104 13.0089 22.9214 12.7979C23.1324 12.5869 23.2509 12.3007 23.2509 12.0023C23.2509 11.7038 23.1324 11.4176 22.9214 11.2066C22.7104 10.9956 22.4242 10.8771 22.1258 10.8771Z" fill="currentColor"></path>
															<path d="M11.9905 19.4995C11.6923 19.5 11.4064 19.6187 11.1956 19.8296C10.9848 20.0405 10.8663 20.3265 10.866 20.6247V22.1249C10.866 22.4231 10.9845 22.7091 11.1953 22.9199C11.4062 23.1308 11.6922 23.2492 11.9904 23.2492C12.2886 23.2492 12.5746 23.1308 12.7854 22.9199C12.9963 22.7091 13.1147 22.4231 13.1147 22.1249V20.6247C13.1145 20.3265 12.996 20.0406 12.7853 19.8296C12.5745 19.6187 12.2887 19.5 11.9905 19.4995Z" fill="currentColor"></path>
															<path d="M4.49743 12.0023C4.49718 11.704 4.37865 11.4181 4.16785 11.2072C3.95705 10.9962 3.67119 10.8775 3.37298 10.8771H1.87445C1.57603 10.8771 1.28984 10.9956 1.07883 11.2066C0.867812 11.4176 0.749266 11.7038 0.749266 12.0023C0.749266 12.3007 0.867812 12.5869 1.07883 12.7979C1.28984 13.0089 1.57603 13.1274 1.87445 13.1274H3.37299C3.6712 13.127 3.95706 13.0083 4.16785 12.7973C4.37865 12.5864 4.49718 12.3005 4.49743 12.0023Z" fill="currentColor"></path>
															<path d="M11.9905 4.50058C12.2887 4.50012 12.5745 4.38141 12.7853 4.17048C12.9961 3.95954 13.1147 3.67361 13.1149 3.3754V1.87521C13.1149 1.57701 12.9965 1.29103 12.7856 1.08017C12.5748 0.869313 12.2888 0.750854 11.9906 0.750854C11.6924 0.750854 11.4064 0.869313 11.1955 1.08017C10.9847 1.29103 10.8662 1.57701 10.8662 1.87521V3.3754C10.8664 3.67359 10.9849 3.95952 11.1957 4.17046C11.4065 4.3814 11.6923 4.50012 11.9905 4.50058Z" fill="currentColor"></path>
															<path d="M18.8857 6.6972L19.9465 5.63642C20.0512 5.53209 20.1343 5.40813 20.1911 5.27163C20.2479 5.13513 20.2772 4.98877 20.2774 4.84093C20.2775 4.69309 20.2485 4.54667 20.192 4.41006C20.1355 4.27344 20.0526 4.14932 19.948 4.04478C19.8435 3.94024 19.7194 3.85734 19.5828 3.80083C19.4462 3.74432 19.2997 3.71531 19.1519 3.71545C19.0041 3.7156 18.8577 3.7449 18.7212 3.80167C18.5847 3.85845 18.4607 3.94159 18.3564 4.04633L17.2956 5.10714C17.1909 5.21147 17.1077 5.33543 17.0509 5.47194C16.9942 5.60844 16.9649 5.7548 16.9647 5.90264C16.9646 6.05048 16.9936 6.19689 17.0501 6.33351C17.1066 6.47012 17.1895 6.59425 17.294 6.69878C17.3986 6.80332 17.5227 6.88621 17.6593 6.94272C17.7959 6.99923 17.9424 7.02824 18.0902 7.02809C18.238 7.02795 18.3844 6.99865 18.5209 6.94187C18.6574 6.88509 18.7814 6.80195 18.8857 6.6972Z" fill="currentColor"></path>
															<path d="M18.8855 17.3073C18.7812 17.2026 18.6572 17.1195 18.5207 17.0627C18.3843 17.006 18.2379 16.9767 18.0901 16.9766C17.9423 16.9764 17.7959 17.0055 17.6593 17.062C17.5227 17.1185 17.3986 17.2014 17.2941 17.3059C17.1895 17.4104 17.1067 17.5345 17.0501 17.6711C16.9936 17.8077 16.9646 17.9541 16.9648 18.1019C16.9649 18.2497 16.9942 18.3961 17.0509 18.5326C17.1077 18.6691 17.1908 18.793 17.2955 18.8974L18.3563 19.9582C18.4606 20.0629 18.5846 20.146 18.721 20.2027C18.8575 20.2595 19.0039 20.2887 19.1517 20.2889C19.2995 20.289 19.4459 20.26 19.5825 20.2035C19.7191 20.147 19.8432 20.0641 19.9477 19.9595C20.0523 19.855 20.1351 19.7309 20.1916 19.5943C20.2482 19.4577 20.2772 19.3113 20.277 19.1635C20.2769 19.0157 20.2476 18.8694 20.1909 18.7329C20.1341 18.5964 20.051 18.4724 19.9463 18.3681L18.8855 17.3073Z" fill="currentColor"></path>
															<path d="M5.09528 17.3072L4.0345 18.368C3.92972 18.4723 3.84655 18.5963 3.78974 18.7328C3.73294 18.8693 3.70362 19.0156 3.70346 19.1635C3.7033 19.3114 3.7323 19.4578 3.78881 19.5944C3.84532 19.7311 3.92822 19.8552 4.03277 19.9598C4.13732 20.0643 4.26147 20.1472 4.3981 20.2037C4.53473 20.2602 4.68117 20.2892 4.82902 20.2891C4.97688 20.2889 5.12325 20.2596 5.25976 20.2028C5.39627 20.146 5.52024 20.0628 5.62456 19.958L6.68536 18.8973C6.79007 18.7929 6.87318 18.6689 6.92993 18.5325C6.98667 18.396 7.01595 18.2496 7.01608 18.1018C7.01621 17.954 6.98719 17.8076 6.93068 17.671C6.87417 17.5344 6.79129 17.4103 6.68676 17.3058C6.58224 17.2012 6.45813 17.1183 6.32153 17.0618C6.18494 17.0053 6.03855 16.9763 5.89073 16.9764C5.74291 16.9766 5.59657 17.0058 5.46007 17.0626C5.32358 17.1193 5.19962 17.2024 5.09528 17.3072Z" fill="currentColor"></path>
															<path d="M5.09541 6.69715C5.19979 6.8017 5.32374 6.88466 5.4602 6.94128C5.59665 6.9979 5.74292 7.02708 5.89065 7.02714C6.03839 7.0272 6.18469 6.99815 6.32119 6.94164C6.45769 6.88514 6.58171 6.80228 6.68618 6.69782C6.79064 6.59336 6.87349 6.46933 6.93 6.33283C6.9865 6.19633 7.01556 6.05003 7.01549 5.9023C7.01543 5.75457 6.98625 5.60829 6.92963 5.47184C6.87301 5.33539 6.79005 5.21143 6.6855 5.10706L5.6247 4.04626C5.5204 3.94137 5.39643 3.8581 5.25989 3.80121C5.12335 3.74432 4.97692 3.71493 4.82901 3.71472C4.68109 3.71452 4.53458 3.7435 4.39789 3.80001C4.26119 3.85652 4.13699 3.93945 4.03239 4.04404C3.9278 4.14864 3.84487 4.27284 3.78836 4.40954C3.73185 4.54624 3.70287 4.69274 3.70308 4.84066C3.70329 4.98858 3.73268 5.135 3.78957 5.27154C3.84646 5.40808 3.92974 5.53205 4.03462 5.63635L5.09541 6.69715Z" fill="currentColor"></path>
														</svg>
													</span>
													<!--end::Svg Icon-->
													<!--begin::Svg Icon | path: icons/duotune/general/gen061.svg-->
													<span class="svg-icon theme-dark-show svg-icon-2">
														<svg width="24" height="24" viewbox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
															<path d="M19.0647 5.43757C19.3421 5.43757 19.567 5.21271 19.567 4.93534C19.567 4.65796 19.3421 4.43311 19.0647 4.43311C18.7874 4.43311 18.5625 4.65796 18.5625 4.93534C18.5625 5.21271 18.7874 5.43757 19.0647 5.43757Z" fill="currentColor"></path>
															<path d="M20.0692 9.48884C20.3466 9.48884 20.5714 9.26398 20.5714 8.98661C20.5714 8.70923 20.3466 8.48438 20.0692 8.48438C19.7918 8.48438 19.567 8.70923 19.567 8.98661C19.567 9.26398 19.7918 9.48884 20.0692 9.48884Z" fill="currentColor"></path>
															<path d="M12.0335 20.5714C15.6943 20.5714 18.9426 18.2053 20.1168 14.7338C20.1884 14.5225 20.1114 14.289 19.9284 14.161C19.746 14.034 19.5003 14.0418 19.3257 14.1821C18.2432 15.0546 16.9371 15.5156 15.5491 15.5156C12.2257 15.5156 9.48884 12.8122 9.48884 9.48886C9.48884 7.41079 10.5773 5.47137 12.3449 4.35752C12.5342 4.23832 12.6 4.00733 12.5377 3.79251C12.4759 3.57768 12.2571 3.42859 12.0335 3.42859C7.32556 3.42859 3.42857 7.29209 3.42857 12C3.42857 16.7079 7.32556 20.5714 12.0335 20.5714Z" fill="currentColor"></path>
															<path d="M13.0379 7.47998C13.8688 7.47998 14.5446 8.15585 14.5446 8.98668C14.5446 9.26428 14.7693 9.48891 15.0469 9.48891C15.3245 9.48891 15.5491 9.26428 15.5491 8.98668C15.5491 8.15585 16.225 7.47998 17.0558 7.47998C17.3334 7.47998 17.558 7.25535 17.558 6.97775C17.558 6.70015 17.3334 6.47552 17.0558 6.47552C16.225 6.47552 15.5491 5.76616 15.5491 4.93534C15.5491 4.65774 15.3245 4.43311 15.0469 4.43311C14.7693 4.43311 14.5446 4.65774 14.5446 4.93534C14.5446 5.76616 13.8688 6.47552 13.0379 6.47552C12.7603 6.47552 12.5357 6.70015 12.5357 6.97775C12.5357 7.25535 12.7603 7.47998 13.0379 7.47998Z" fill="currentColor"></path>
														</svg>
													</span>
													<!--end::Svg Icon-->
												</span></span>
											</a>
											<!--begin::Menu-->
											<div class="menu menu-sub menu-sub-dropdown menu-column menu-rounded menu-title-gray-700 menu-icon-muted menu-active-bg menu-state-color fw-semibold py-4 fs-base w-175px" data-kt-menu="true" data-kt-element="theme-mode-menu">
												<!--begin::Menu item-->
												<div class="menu-item px-3 my-0">
													<a href="#" class="menu-link px-3 py-2" data-kt-element="mode" data-kt-value="light">
														<span class="menu-icon" data-kt-element="icon">
															<!--begin::Svg Icon | path: icons/duotune/general/gen060.svg-->
															<span class="svg-icon svg-icon-3">
																<svg width="24" height="24" viewbox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
																	<path d="M11.9905 5.62598C10.7293 5.62574 9.49646 5.9995 8.44775 6.69997C7.39903 7.40045 6.58159 8.39619 6.09881 9.56126C5.61603 10.7263 5.48958 12.0084 5.73547 13.2453C5.98135 14.4823 6.58852 15.6185 7.48019 16.5104C8.37186 17.4022 9.50798 18.0096 10.7449 18.2557C11.9818 18.5019 13.2639 18.3757 14.429 17.8931C15.5942 17.4106 16.5901 16.5933 17.2908 15.5448C17.9915 14.4962 18.3655 13.2634 18.3655 12.0023C18.3637 10.3119 17.6916 8.69129 16.4964 7.49593C15.3013 6.30056 13.6808 5.62806 11.9905 5.62598Z" fill="currentColor"></path>
																	<path d="M22.1258 10.8771H20.627C20.3286 10.8771 20.0424 10.9956 19.8314 11.2066C19.6204 11.4176 19.5018 11.7038 19.5018 12.0023C19.5018 12.3007 19.6204 12.5869 19.8314 12.7979C20.0424 13.0089 20.3286 13.1274 20.627 13.1274H22.1258C22.4242 13.1274 22.7104 13.0089 22.9214 12.7979C23.1324 12.5869 23.2509 12.3007 23.2509 12.0023C23.2509 11.7038 23.1324 11.4176 22.9214 11.2066C22.7104 10.9956 22.4242 10.8771 22.1258 10.8771Z" fill="currentColor"></path>
																	<path d="M11.9905 19.4995C11.6923 19.5 11.4064 19.6187 11.1956 19.8296C10.9848 20.0405 10.8663 20.3265 10.866 20.6247V22.1249C10.866 22.4231 10.9845 22.7091 11.1953 22.9199C11.4062 23.1308 11.6922 23.2492 11.9904 23.2492C12.2886 23.2492 12.5746 23.1308 12.7854 22.9199C12.9963 22.7091 13.1147 22.4231 13.1147 22.1249V20.6247C13.1145 20.3265 12.996 20.0406 12.7853 19.8296C12.5745 19.6187 12.2887 19.5 11.9905 19.4995Z" fill="currentColor"></path>
																	<path d="M4.49743 12.0023C4.49718 11.704 4.37865 11.4181 4.16785 11.2072C3.95705 10.9962 3.67119 10.8775 3.37298 10.8771H1.87445C1.57603 10.8771 1.28984 10.9956 1.07883 11.2066C0.867812 11.4176 0.749266 11.7038 0.749266 12.0023C0.749266 12.3007 0.867812 12.5869 1.07883 12.7979C1.28984 13.0089 1.57603 13.1274 1.87445 13.1274H3.37299C3.6712 13.127 3.95706 13.0083 4.16785 12.7973C4.37865 12.5864 4.49718 12.3005 4.49743 12.0023Z" fill="currentColor"></path>
																	<path d="M11.9905 4.50058C12.2887 4.50012 12.5745 4.38141 12.7853 4.17048C12.9961 3.95954 13.1147 3.67361 13.1149 3.3754V1.87521C13.1149 1.57701 12.9965 1.29103 12.7856 1.08017C12.5748 0.869313 12.2888 0.750854 11.9906 0.750854C11.6924 0.750854 11.4064 0.869313 11.1955 1.08017C10.9847 1.29103 10.8662 1.57701 10.8662 1.87521V3.3754C10.8664 3.67359 10.9849 3.95952 11.1957 4.17046C11.4065 4.3814 11.6923 4.50012 11.9905 4.50058Z" fill="currentColor"></path>
																	<path d="M18.8857 6.6972L19.9465 5.63642C20.0512 5.53209 20.1343 5.40813 20.1911 5.27163C20.2479 5.13513 20.2772 4.98877 20.2774 4.84093C20.2775 4.69309 20.2485 4.54667 20.192 4.41006C20.1355 4.27344 20.0526 4.14932 19.948 4.04478C19.8435 3.94024 19.7194 3.85734 19.5828 3.80083C19.4462 3.74432 19.2997 3.71531 19.1519 3.71545C19.0041 3.7156 18.8577 3.7449 18.7212 3.80167C18.5847 3.85845 18.4607 3.94159 18.3564 4.04633L17.2956 5.10714C17.1909 5.21147 17.1077 5.33543 17.0509 5.47194C16.9942 5.60844 16.9649 5.7548 16.9647 5.90264C16.9646 6.05048 16.9936 6.19689 17.0501 6.33351C17.1066 6.47012 17.1895 6.59425 17.294 6.69878C17.3986 6.80332 17.5227 6.88621 17.6593 6.94272C17.7959 6.99923 17.9424 7.02824 18.0902 7.02809C18.238 7.02795 18.3844 6.99865 18.5209 6.94187C18.6574 6.88509 18.7814 6.80195 18.8857 6.6972Z" fill="currentColor"></path>
																	<path d="M18.8855 17.3073C18.7812 17.2026 18.6572 17.1195 18.5207 17.0627C18.3843 17.006 18.2379 16.9767 18.0901 16.9766C17.9423 16.9764 17.7959 17.0055 17.6593 17.062C17.5227 17.1185 17.3986 17.2014 17.2941 17.3059C17.1895 17.4104 17.1067 17.5345 17.0501 17.6711C16.9936 17.8077 16.9646 17.9541 16.9648 18.1019C16.9649 18.2497 16.9942 18.3961 17.0509 18.5326C17.1077 18.6691 17.1908 18.793 17.2955 18.8974L18.3563 19.9582C18.4606 20.0629 18.5846 20.146 18.721 20.2027C18.8575 20.2595 19.0039 20.2887 19.1517 20.2889C19.2995 20.289 19.4459 20.26 19.5825 20.2035C19.7191 20.147 19.8432 20.0641 19.9477 19.9595C20.0523 19.855 20.1351 19.7309 20.1916 19.5943C20.2482 19.4577 20.2772 19.3113 20.277 19.1635C20.2769 19.0157 20.2476 18.8694 20.1909 18.7329C20.1341 18.5964 20.051 18.4724 19.9463 18.3681L18.8855 17.3073Z" fill="currentColor"></path>
																	<path d="M5.09528 17.3072L4.0345 18.368C3.92972 18.4723 3.84655 18.5963 3.78974 18.7328C3.73294 18.8693 3.70362 19.0156 3.70346 19.1635C3.7033 19.3114 3.7323 19.4578 3.78881 19.5944C3.84532 19.7311 3.92822 19.8552 4.03277 19.9598C4.13732 20.0643 4.26147 20.1472 4.3981 20.2037C4.53473 20.2602 4.68117 20.2892 4.82902 20.2891C4.97688 20.2889 5.12325 20.2596 5.25976 20.2028C5.39627 20.146 5.52024 20.0628 5.62456 19.958L6.68536 18.8973C6.79007 18.7929 6.87318 18.6689 6.92993 18.5325C6.98667 18.396 7.01595 18.2496 7.01608 18.1018C7.01621 17.954 6.98719 17.8076 6.93068 17.671C6.87417 17.5344 6.79129 17.4103 6.68676 17.3058C6.58224 17.2012 6.45813 17.1183 6.32153 17.0618C6.18494 17.0053 6.03855 16.9763 5.89073 16.9764C5.74291 16.9766 5.59657 17.0058 5.46007 17.0626C5.32358 17.1193 5.19962 17.2024 5.09528 17.3072Z" fill="currentColor"></path>
																	<path d="M5.09541 6.69715C5.19979 6.8017 5.32374 6.88466 5.4602 6.94128C5.59665 6.9979 5.74292 7.02708 5.89065 7.02714C6.03839 7.0272 6.18469 6.99815 6.32119 6.94164C6.45769 6.88514 6.58171 6.80228 6.68618 6.69782C6.79064 6.59336 6.87349 6.46933 6.93 6.33283C6.9865 6.19633 7.01556 6.05003 7.01549 5.9023C7.01543 5.75457 6.98625 5.60829 6.92963 5.47184C6.87301 5.33539 6.79005 5.21143 6.6855 5.10706L5.6247 4.04626C5.5204 3.94137 5.39643 3.8581 5.25989 3.80121C5.12335 3.74432 4.97692 3.71493 4.82901 3.71472C4.68109 3.71452 4.53458 3.7435 4.39789 3.80001C4.26119 3.85652 4.13699 3.93945 4.03239 4.04404C3.9278 4.14864 3.84487 4.27284 3.78836 4.40954C3.73185 4.54624 3.70287 4.69274 3.70308 4.84066C3.70329 4.98858 3.73268 5.135 3.78957 5.27154C3.84646 5.40808 3.92974 5.53205 4.03462 5.63635L5.09541 6.69715Z" fill="currentColor"></path>
																</svg>
															</span>
															<!--end::Svg Icon-->
														</span>
														<span class="menu-title">亮</span>
													</a>
												</div>
												<!--end::Menu item-->
												<!--begin::Menu item-->
												<div class="menu-item px-3 my-0">
													<a href="#" class="menu-link px-3 py-2" data-kt-element="mode" data-kt-value="dark">
														<span class="menu-icon" data-kt-element="icon">
															<!--begin::Svg Icon | path: icons/duotune/general/gen061.svg-->
															<span class="svg-icon svg-icon-3">
																<svg width="24" height="24" viewbox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
																	<path d="M19.0647 5.43757C19.3421 5.43757 19.567 5.21271 19.567 4.93534C19.567 4.65796 19.3421 4.43311 19.0647 4.43311C18.7874 4.43311 18.5625 4.65796 18.5625 4.93534C18.5625 5.21271 18.7874 5.43757 19.0647 5.43757Z" fill="currentColor"></path>
																	<path d="M20.0692 9.48884C20.3466 9.48884 20.5714 9.26398 20.5714 8.98661C20.5714 8.70923 20.3466 8.48438 20.0692 8.48438C19.7918 8.48438 19.567 8.70923 19.567 8.98661C19.567 9.26398 19.7918 9.48884 20.0692 9.48884Z" fill="currentColor"></path>
																	<path d="M12.0335 20.5714C15.6943 20.5714 18.9426 18.2053 20.1168 14.7338C20.1884 14.5225 20.1114 14.289 19.9284 14.161C19.746 14.034 19.5003 14.0418 19.3257 14.1821C18.2432 15.0546 16.9371 15.5156 15.5491 15.5156C12.2257 15.5156 9.48884 12.8122 9.48884 9.48886C9.48884 7.41079 10.5773 5.47137 12.3449 4.35752C12.5342 4.23832 12.6 4.00733 12.5377 3.79251C12.4759 3.57768 12.2571 3.42859 12.0335 3.42859C7.32556 3.42859 3.42857 7.29209 3.42857 12C3.42857 16.7079 7.32556 20.5714 12.0335 20.5714Z" fill="currentColor"></path>
																	<path d="M13.0379 7.47998C13.8688 7.47998 14.5446 8.15585 14.5446 8.98668C14.5446 9.26428 14.7693 9.48891 15.0469 9.48891C15.3245 9.48891 15.5491 9.26428 15.5491 8.98668C15.5491 8.15585 16.225 7.47998 17.0558 7.47998C17.3334 7.47998 17.558 7.25535 17.558 6.97775C17.558 6.70015 17.3334 6.47552 17.0558 6.47552C16.225 6.47552 15.5491 5.76616 15.5491 4.93534C15.5491 4.65774 15.3245 4.43311 15.0469 4.43311C14.7693 4.43311 14.5446 4.65774 14.5446 4.93534C14.5446 5.76616 13.8688 6.47552 13.0379 6.47552C12.7603 6.47552 12.5357 6.70015 12.5357 6.97775C12.5357 7.25535 12.7603 7.47998 13.0379 7.47998Z" fill="currentColor"></path>
																</svg>
															</span>
															<!--end::Svg Icon-->
														</span>
														<span class="menu-title">暗</span>
													</a>
												</div>
												<!--end::Menu item-->
												<!--begin::Menu item-->
												<div class="menu-item px-3 my-0">
													<a href="#" class="menu-link px-3 py-2" data-kt-element="mode" data-kt-value="system">
														<span class="menu-icon" data-kt-element="icon">
															<!--begin::Svg Icon | path: icons/duotune/general/gen062.svg-->
															<span class="svg-icon svg-icon-3">
																<svg width="24" height="24" viewbox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
																	<path fill-rule="evenodd" clip-rule="evenodd" d="M1.34375 3.9463V15.2178C1.34375 16.119 2.08105 16.8563 2.98219 16.8563H8.65093V19.4594H6.15702C5.38853 19.4594 4.75981 19.9617 4.75981 20.5757V21.6921H19.2403V20.5757C19.2403 19.9617 18.6116 19.4594 17.8431 19.4594H15.3492V16.8563H21.0179C21.919 16.8563 22.6562 16.119 22.6562 15.2178V3.9463C22.6562 3.04516 21.9189 2.30786 21.0179 2.30786H2.98219C2.08105 2.30786 1.34375 3.04516 1.34375 3.9463ZM12.9034 9.9016C13.241 9.98792 13.5597 10.1216 13.852 10.2949L15.0393 9.4353L15.9893 10.3853L15.1297 11.5727C15.303 11.865 15.4366 12.1837 15.523 12.5212L16.97 12.7528V13.4089H13.9851C13.9766 12.3198 13.0912 11.4394 12 11.4394C10.9089 11.4394 10.0235 12.3198 10.015 13.4089H7.03006V12.7528L8.47712 12.5211C8.56345 12.1836 8.69703 11.8649 8.87037 11.5727L8.0107 10.3853L8.96078 9.4353L10.148 10.2949C10.4404 10.1215 10.759 9.98788 11.0966 9.9016L11.3282 8.45467H12.6718L12.9034 9.9016ZM16.1353 7.93758C15.6779 7.93758 15.3071 7.56681 15.3071 7.1094C15.3071 6.652 15.6779 6.28122 16.1353 6.28122C16.5926 6.28122 16.9634 6.652 16.9634 7.1094C16.9634 7.56681 16.5926 7.93758 16.1353 7.93758ZM2.71385 14.0964V3.90518C2.71385 3.78023 2.81612 3.67796 2.94107 3.67796H21.0589C21.1839 3.67796 21.2861 3.78023 21.2861 3.90518V14.0964C15.0954 14.0964 8.90462 14.0964 2.71385 14.0964Z" fill="currentColor"></path>
																</svg>
															</span>
															<!--end::Svg Icon-->
														</span>
														<span class="menu-title">跟随系统</span>
													</a>
												</div>
												<!--end::Menu item-->
											</div>
											<!--end::Menu-->
										</div>
										<!--end::Menu item-->
										<div class="menu-item px-5">
                                            <a href="javascript:;" onClick="dr_logout('{dr_url('login/out')}');" class="menu-link px-5"> {dr_lang('退出')}</a>
                                        </div>
										
										
									</div>
									<!--end::User account menu-->
								</div>
							</div>
							<!--end::Footer-->

						</div>
						<!--end::Sidebar primary-->
						<!--begin::Sidebar secondary-->

                        {loop $my_menu $tid $top}
						<div class="app-sidebar-secondary {if $top.id==$first} dispalynone displayblock {else} dispalynone{/if} dr_menu_top_next " id="dr_menu_top_next_{$top.id}"  >
							<!--begin::Sidebar secondary menu-->
							<div class="menu menu-sub-indention menu-rounded menu-column menu-active-bg menu-title-gray-600 menu-icon-gray-400 menu-state-primary menu-arrow-gray-500 fw-semibold fs-6 py-4 py-lg-6 px-1 px-lg-5" id="kt_app_sidebar_secondary_menu" data-kt-menu="true">
								<div id="kt_app_sidebar_secondary_menu_wrapper" class="hover-scroll-y me-lg-n2 pe-lg-2" data-kt-scroll="true" data-kt-scroll-activate="{default: false, lg: true}" data-kt-scroll-height="auto" data-kt-scroll-wrappers="#kt_app_sidebar_secondary_menu" data-kt-scroll-offset="20px">
									<!--begin:Menu item-->
									<div class="menu-item">
										<!--begin:Menu content-->
										<div class="menu-content">
											<span class="menu-section fs-5 fw-bolder ps-1 py-1">{dr_lang($top.name)}</span>
										</div>
										<!--end:Menu content-->
									</div>
									<!--end:Menu item-->
                                    {loop $top.left $left}
                                    <div data-kt-menu-trigger="click" id="dr_menu_left_next_{$left.id}" class="menu-item {if $main_menu.pid==$left.id}here show{/if} menu-accordion dr_menu_left_next">
                                        <!--begin:Menu link-->
                                        <span class="menu-link">
                                            <span class="menu-icon">
                                                <i class="{$left.icon}"></i>
                                            </span>
                                            <span class="menu-title">{dr_lang($left.name)}</span>
                                            <span class="menu-arrow"></span>
                                        </span>
                                        <!--end:Menu link-->
                                        <!--begin:Menu sub-->
                                        <div class="menu-sub menu-sub-accordion dr_menu_left_next_1">
                                            <!--begin:Menu item-->
                                            {loop $left.link $link}
                                            <div class="menu-item">
                                                <!--begin:Menu link-->
                                                <a class="menu-link {if $main_menu.id==$link.id} active{/if}" id="dr_menu_link_b_{$link.id}" href="javascript:Mlink({$tid}, {$left['id']}, {$link['id']}, '{$link.url}');">
                                                    <span class="menu-bullet">
                                                        <span class="{$link.icon}"></span>
                                                    </span>
                                                    <span class="menu-title" id="dr_menu_link_next_{$link.id}">{dr_lang($link.name)}</span>
                                                </a>
                                                <!--end:Menu link-->
                                            </div>
                                            {/loop}
                                            <!--end:Menu item-->
                                            
                                        </div>
                                        <!--end:Menu sub-->
                                    </div>
                                    {/loop}

								</div>
							</div>
							<!--end::Sidebar secondary menu-->
						</div>
                        {/loop}
						<!--end::Sidebar secondary-->
						<!--begin::Sidebar secondary toggle-->
						<button id="kt_app_sidebar_secondary_toggle" class="app-sidebar-secondary-toggle btn btn-sm btn-icon bg-body btn-color-gray-600 btn-active-color-primary position-absolute translate-middle z-index-1 start-100 end-0 bottom-0 shadow-sm d-none d-lg-flex mb-4" data-kt-toggle="true" data-kt-toggle-state="active" data-kt-toggle-target="body" data-kt-toggle-name="app-sidebar-secondary-collapse">
							<!--begin::Svg Icon | path: icons/duotune/arrows/arr063.svg-->
							<span class="svg-icon svg-icon-2 rotate-180">
								<svg width="24" height="24" viewbox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
									<rect opacity="0.5" x="6" y="11" width="13" height="2" rx="1" fill="currentColor"></rect>
									<path d="M8.56569 11.4343L12.75 7.25C13.1642 6.83579 13.1642 6.16421 12.75 5.75C12.3358 5.33579 11.6642 5.33579 11.25 5.75L5.70711 11.2929C5.31658 11.6834 5.31658 12.3166 5.70711 12.7071L11.25 18.25C11.6642 18.6642 12.3358 18.6642 12.75 18.25C13.1642 17.8358 13.1642 17.1642 12.75 16.75L8.56569 12.5657C8.25327 12.2533 8.25327 11.7467 8.56569 11.4343Z" fill="currentColor"></path>
								</svg>
							</span>
							<!--end::Svg Icon-->
						</button>
						<!--end::Sidebar secondary toggle-->
					</div>
					<!--end::Sidebar-->
				
					<!--begin::Main-->
                    <div class="app-main flex-column flex-row-fluid" id="kt_app_main">
						<!--begin::Content wrapper-->
						<div class="d-flex flex-column flex-column-fluid">
							<!--begin::Toolbar-->
							<div id="kt_app_toolbar" class="app-toolbar py-2 " data-kt-sticky="true" data-kt-sticky-name="app-toolbar-sticky" data-kt-sticky-offset="{default: 'false', lg: '300px'}">
								<!--begin::Toolbar container-->
								<div id="kt_header_nav" class="app-container container-fluid d-flex flex-stack flex-wrap">
									<!--begin::Page title-->
                                    
									<div  class="page-title py-2 py-sm-0 d-flex  justify-content-center me-3" id="dr_go_url" data-kt-menu="true">
										
									</div>
                                   
									<!--end::Page title-->
									
								</div>
                                <!--begin::Actions-->
									<div class="d-flex align-items-center gap-1 gap-lg-1">
										<!--begin::Search-->
                                        <div id="kt_header_search" class="header-search d-flex align-items-stretch" data-kt-search-keypress="true" data-kt-search-min-length="2" data-kt-search-enter="enter" data-kt-search-layout="menu" data-kt-menu-trigger="auto" data-kt-menu-overflow="false" data-kt-menu-permanent="true" data-kt-menu-placement="bottom-end">
                                            <!--begin::Search toggle-->
                                            <div class="d-flex align-items-center dr_active_menu_icon" data-kt-search-element="toggle" id="kt_header_search_toggle">
                                                <div class="btn btn-icon btn-icon-muted btn-active-light btn-active-color-primary w-30px h-30px w-md-40px h-md-40px">
                                                    <!--begin::Svg Icon | path: icons/duotune/general/gen021.svg-->
                                                    <span class="svg-icon svg-icon-1">
                                                                <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
                                                                    <rect opacity="0.5" x="17.0365" y="15.1223" width="8.15546" height="2" rx="1" transform="rotate(45 17.0365 15.1223)" fill="currentColor" />
                                                                    <path d="M11 19C6.55556 19 3 15.4444 3 11C3 6.55556 6.55556 3 11 3C15.4444 3 19 6.55556 19 11C19 15.4444 15.4444 19 11 19ZM11 5C7.53333 5 5 7.53333 5 11C5 14.4667 7.53333 17 11 17C14.4667 17 17 14.4667 17 11C17 7.53333 14.4667 5 11 5Z" fill="currentColor" />
                                                                </svg>
                                                            </span>
                                                    <!--end::Svg Icon-->
                                                </div>
                                            </div>
                                            <!--end::Search toggle-->
                                            <!--begin::Menu-->
                                            <div data-kt-search-element="content" class="dr_active_menu_sub menu menu-sub menu-sub-dropdown p-7 w-325px w-md-375px">
                                                <!--begin::Wrapper-->
                                                <div data-kt-search-element="wrapper">
                                                    <!--begin::Form-->
                                                    <form data-kt-search-element="form" class="w-100 position-relative mb-3" autocomplete="off">
                                                        <span class="svg-icon svg-icon-2 svg-icon-lg-1 svg-icon-gray-500 position-absolute top-50 translate-middle-y ms-0">
                                                                    <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
                                                                        <rect opacity="0.5" x="17.0365" y="15.1223" width="8.15546" height="2" rx="1" transform="rotate(45 17.0365 15.1223)" fill="currentColor" />
                                                                        <path d="M11 19C6.55556 19 3 15.4444 3 11C3 6.55556 6.55556 3 11 3C15.4444 3 19 6.55556 19 11C19 15.4444 15.4444 19 11 19ZM11 5C7.53333 5 5 7.53333 5 11C5 14.4667 7.53333 17 11 17C14.4667 17 17 14.4667 17 11C17 7.53333 14.4667 5 11 5Z" fill="currentColor" />
                                                                    </svg>
                                                                </span>
                                                        <input type="text" oninput="dr_search_menu(this.value)" class="search-input form-control form-control-flush ps-10" placeholder="{dr_lang('菜单搜索')}" data-kt-search-element="input" />
        
                                                        <span id="dr_search_loading" class="position-absolute top-50 end-0 translate-middle-y lh-0 d-none me-1" data-kt-search-element="spinner">
                                                                    <span class="spinner-border h-15px w-15px align-middle text-gray-400"></span>
                                                                </span>
                                                    </form>
                                                    <div class="separator border-gray-200 mb-6"></div>
                                                    <div class="mb-5" id="dr_search_menu" data-kt-search-element="main">
        
                                                    </div>
                                                    <div data-kt-search-element="results" class="d-none" _msthidden="31">
													
													</div>
                                                </div>
                                            </div>
                                            <!--end::Menu-->
                                        </div>
										<!--end::Search-->
									</div>
                                    <!--begin::Quick links-->
                                    <div class="d-flex align-items-center gap-1 gap-lg-1">
                                        <!--begin::Menu wrapper-->
                                        <div class=" dr_active_menu_icon btn btn-icon btn-icon-muted btn-active-light btn-active-color-primary w-30px h-30px w-md-40px h-md-40px" data-kt-menu-trigger="click" data-kt-menu-attach="parent" data-kt-menu-placement="bottom-end">
        
                                            <span class="svg-icon svg-icon-1">
                                                <i class="fa fa-link"></i>
                                                    </span>
                                        </div>
                                        <!--begin::Menu-->
                                        <div class="dr_active_menu_sub menu menu-sub menu-sub-dropdown menu-column w-250px w-lg-325px" data-kt-menu="true">
                                            <div class="py-2 text-center border-bottom">
                                                <a href="javascript:dr_add_menu();" class="btn btn-color-gray-600 btn-active-color-primary">
                                                    {dr_lang('加入快捷菜单')}
                                                </a>
                                            </div>
                                            <div id="dr_link_menu">{template "api_link_menu.html"}</div>
                                            <div class="py-2 text-center">
                                                <a href="javascript:dr_go_url('{dr_url('api/my')}');" class="btn btn-color-gray-600 btn-active-color-primary">
                                                    {dr_lang('管理快捷菜单')}
                                                </a>
                                            </div>
        
                                        </div>
                                        <!--end::Menu-->
                                        <!--end::Menu wrapper-->
                                    </div>
                                    <!--end::Quick links-->

                                    {if count($ci->site_info) > 1}
                                    <div class="d-flex align-items-center gap-1 gap-lg-1">
                                        <div  class="btn btn-icon btn-icon-muted btn-active-light btn-active-color-primary w-30px h-30px w-md-40px h-md-40px" data-kt-menu-trigger="click" data-kt-menu-attach="parent" data-kt-menu-placement="bottom-end">
                                            <span class="svg-icon svg-icon-1">
                                                <i class="fa fa-share-alt"></i>
                                            </span>
                                        </div>
                                        <div class="menu menu-sub menu-sub-dropdown menu-column w-300px" data-kt-menu="true">
                                            <div class="tab-pane fade show active" role="tabpanel">
        
                                                <div class="scroll-y  my-5 px-8">
                                                    {loop $ci->site_info $i $t}
                                                    {if \Phpcmf\Service::M('auth')->_check_site($i)}
                                                    <div class="d-flex flex-stack py-4">
                                                        <div class="d-flex align-items-center">
                                                            <div class="mb-0 me-2">
                                                                <a href="javascript:;" onclick="dr_select_site('{$i}')" class="fs-6 text-gray-800 text-hover-primary fw-bolder">{dr_strcut($t.SITE_NAME, 30)}</a>
                                                                <div class="text-gray-400 fs-7">{trim(str_replace(['http://', 'https://'], '', $t.SITE_URL), '/')}</div>
                                                            </div>
                                                        </div>
                                                        {if SITE_ID == $i}<span class="badge badge-light fs-8">{dr_lang('当前')}</span>{/if}
                                                    </div>
                                                    {/if}
                                                    {/loop}
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    {/if}
        
                                    {if $ci->_is_admin_auth('notice/index')}
                                    <div class="d-flex align-items-center gap-1 gap-lg-1">
                                        <div class="dr_active_menu_icon btn btn-icon btn-icon-muted btn-active-light btn-active-color-primary w-30px h-30px w-md-40px h-md-40px" data-kt-menu-trigger="click" data-kt-menu-attach="parent" data-kt-menu-placement="bottom-end">
                                            <span class="svg-icon svg-icon-1">
                                                <i class="fa fa-bell-o"></i>
                                            </span>
                                        </div>
                                        <div class="dr_active_menu_sub menu menu-sub menu-sub-dropdown menu-column w-250px w-lg-400px" data-kt-menu="true">
                                            <?php $notice = \Phpcmf\Service::M('auth')->admin_notice(10, true);?>
                                            <div class="scroll-y  my-5 px-8">
        
                                                {loop $notice $t}
                                                <div class="d-flex flex-stack py-4">
                                                    <!--begin::Section-->
                                                    <div class="d-flex align-items-center">
                                                        <div class="symbol symbol-35px me-4">
                                                        <span class="symbol-label bg-light-primary">
                                                            <span class="svg-icon svg-icon-2 svg-icon-primary">
                                                            <img style="height: 25px!important;" src="{dr_avatar($t.uid)}" />
                                                            </span>
                                                        </span>
                                                        </div>
                                                        <div class="mb-0 me-2">
                                                            <a href="javascript:dr_go_url('{dr_url('api/notice', array('id' => $t.id))}');" class="fs-6 text-gray-800 text-hover-primary ">{$t.msg}</a>
        
                                                        </div>
                                                    </div>
                                                    <span class="badge badge-light fs-8">{dr_fdate($t.inputtime)}</span>
                                                </div>
                                                {/loop}
        
                                            </div>
                                            <div class="py-2 text-center border-top">
                                                <a href="javascript:dr_go_url('{dr_url('notice/index')}');" class="btn btn-color-gray-600 btn-active-color-primary">{dr_lang('更多')}</a>
                                            </div>
                                        </div>
                                    </div>
                                    {/if}
                                    
                                    <div class="d-flex align-items-center gap-1 gap-lg-1" id="kt_header_user_menu_toggle">
                                        
                                        <div class="dr_active_menu_icon btn btn-icon btn-icon-muted btn-active-light btn-active-color-primary w-30px h-30px w-md-40px h-md-40px" data-kt-menu-trigger="click" data-kt-menu-attach="parent" data-kt-menu-placement="bottom-end">
                                            <span class="svg-icon svg-icon-1">
                                                <i class="fa fa-ellipsis-h"></i>
                                            </span>
                                        </div>
										
										
                                       

                                        <div class="menu menu-sub menu-sub-dropdown menu-column menu-rounded menu-gray-800 menu-state-bg menu-state-primary fw-bold py-4 fs-6 w-200px" data-kt-menu="true">
                                         

                                            <div class="menu-item px-5"><a href="javascript:dr_update_cache_all();" class="menu-link px-5"><i class="fa fa-refresh"></i>  {dr_lang('更新缓存')}</a></div>
                                            {if $admin.adminid==1}
                                            <div class="menu-item px-5"><a href="javascript:dr_go_url('{dr_url('error/index')}');" class="menu-link px-5"><i class="fa fa-shield"></i>  {dr_lang('系统日志')}</a></div>
                                            {/if}
                                            <div class="menu-item px-5">
                                                <a href="{dr_url('api/admin_min')}" class="menu-link px-5"><i class="fa fa-retweet"></i>  {dr_lang('简化模式')}</a>
                                            </div>
                                            
                                            <div class="separator my-2"></div>
                                            {if $ci->_is_admin_auth('cache/index')}
                                            <div class="menu-item px-5">
                                                <a href="javascript:dr_go_url('{dr_url('cache/index')}');" class="menu-link px-5"><i class="fa fa-cogs"></i>  {dr_lang('系统更新')}</a>
                                            </div>
                                            {/if}
                                            {if $ci->_is_admin_auth('check/index')}
                                            <div class="menu-item px-5"><a href="javascript:dr_go_url('{dr_url('check/index')}');" class="menu-link px-5"><i class="fa fa-wrench"></i>  {dr_lang('系统体检')}</a></div>
                                            {/if}
                                            <div class="menu-item px-5"><a href="javascript:dr_update_cache_data();" class="menu-link px-5"><i class="fa fa-trash"></i>  {dr_lang('更新数据')}</a></div>
                                          
                                            <div class="separator my-2"></div>
                                            {if $is_search_help}
                                            <div class="menu-item px-5"><a href="http://help.xunruicms.com" target="_blank" class="menu-link px-5"><i class="fa fa-book"></i>  {dr_lang('帮助手册')}</a></div>
                                            {/if}
        
                                        </div>
                                    </div>
                                            

									<!--end::Actions-->
								<!--end::Toolbar container-->
							</div>
							<!--end::Toolbar-->
							<!--begin::Content-->
							<div id="kt_app_content" class="app-content flex-column-fluid">
								<!--begin::Content container-->
								<div id="myiframe" cid="right_page">
                                    <iframe class="myiframe active" name="right" id="right_page" src="{$main_url}" url="{$main_url}" style="border:none; margin-bottom:0px;" width="100%" height="auto" allowtransparency="true"></iframe>
                                </div>
								<!--end::Content container-->
							</div>
							<!--end::Content-->
						</div>
						<!--end::Content wrapper-->
						
					</div>
					<!--end:::Main-->
				</div>
				<!--end::Wrapper-->
			</div>
			<!--end::Page-->
		</div>
		<!--end::App-->



<script>
    if (self != top) {
        top.location.href = admin_file;
    }
    var url = '{dr_url_prefix('/')}';
    var p = url.split('/');
    var ptl = document.location.protocol;
    if ((p[0] == 'http:' || p[0] == 'https:') && ptl != p[0]) {
        Swal.fire({
            text: '当前访问是'+ptl.replace(':', '')+'模式，本项目设置的是'+p[0].replace(':', '')+'模式，请使用'+p[0].replace(':', '')+'模式访问，会导致部分功能无法正常使用',
            icon: "error",
            buttonsStyling: !1,
            confirmButtonText: "{dr_lang('关闭')}",
            customClass: {
                confirmButton: "btn btn-light"
            }
        });
    }
    // 添加快捷菜单
    function dr_add_menu() {
        var index = layer.load(2, {
            shade: [0.3,'#fff'], //0.1透明度的白色背景
            time: 5000
        });
        var obj = $('#myiframe').attr('cid');
        $.ajax({
            type: "GET",
            url: admin_file+"?c=api&m=menu&v="+encodeURIComponent($("#"+obj).attr("url")),
            dataType: "json",
            success: function (json) {
                layer.close(index);
                dr_tips(json.code, json.msg);
                if (json.code == 1) {
                    $('#dr_link_menu').html(json.data);
                }
            },
            error: function(HttpRequest, ajaxOptions, thrownError) {
                dr_ajax_admin_alert_error(HttpRequest, ajaxOptions, thrownError);
            }
        });
    }
</script>
<!--end::Modals-->

<!--begin::Vendors Javascript(used for this page only)-->
<script src="{$THEME_PATH}htmb1/assets/plugins/custom/fullcalendar/fullcalendar.bundle.js"></script>
<script src="{$THEME_PATH}htmb1/lib/5/index.js"></script>
<script src="{$THEME_PATH}htmb1/lib/5/xy.js"></script>
<script src="{$THEME_PATH}htmb1/lib/5/percent.js"></script>
<script src="{$THEME_PATH}htmb1/lib/5/radar.js"></script>
<script src="{$THEME_PATH}htmb1/lib/5/themes/Animated.js"></script>
<script src="{$THEME_PATH}htmb1/lib/5/map.js"></script>
<script src="{$THEME_PATH}htmb1/lib/5/geodata/worldLow.js"></script>
<script src="{$THEME_PATH}htmb1/lib/5/geodata/continentsLow.js"></script>
<script src="{$THEME_PATH}htmb1/lib/5/geodata/usaLow.js"></script>
<script src="{$THEME_PATH}htmb1/lib/5/geodata/worldTimeZonesLow.js"></script>
<script src="{$THEME_PATH}htmb1/lib/5/geodata/worldTimeZoneAreasLow.js"></script>
<script src="{$THEME_PATH}htmb1/assets/plugins/custom/datatables/datatables.bundle.js"></script>
<!--end::Vendors Javascript-->
<!--begin::Custom Javascript(used for this page only)-->
<script src="{$THEME_PATH}htmb1/assets/js/widgets.bundle.js"></script>
<script src="{$THEME_PATH}htmb1/assets/js/custom/widgets.js"></script>
<script src="{$THEME_PATH}htmb1/assets/js/custom/apps/chat/chat.js"></script>
<script src="{$THEME_PATH}htmb1/assets/js/custom/utilities/modals/users-search.js"></script>
<script src="{$THEME_PATH}htmb1/assets/js/custom/utilities/modals/bidding.js"></script>
<!--end::Custom Javascript-->
<!--end::Javascript-->
</body>
<!--end::Body-->
</html>